package com.ssi.action.index;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ssi.annotation.Premission;

@Controller
@RequestMapping({ "/", "" })
public class IndexAction {

	@Premission(item="1000000")
	@RequestMapping({ "/", "" })
	public String index(HttpServletRequest request, HttpServletResponse response){
		request.setAttribute("validate", false);
		return "/customer/customer-login";
	}
}
